<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>AktienTreppe</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="icon" href="<c:url value='/images/logo.ico'/>"> 
    <link rel="stylesheet" type="text/css" href="<c:url value='/style/style.css'/>" />
    <link rel="stylesheet" type="text/css" href="<c:url value='/style/table.css'/>" />
    <link rel="stylesheet" type="text/css" href="<c:url value='/style/jquery-foxiblob-0.1.css'/>" />
    <script type="text/javascript" src="<c:url value='/javascript/jquery-1.3.2.min.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/javascript/jquery-foxiblob-0.1.min.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/javascript/jquery.corners.min.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/javascript/initfoxiblob.js'/>"></script>
    <script type="text/javascript">$(document).ready(function(){ $('#menu_list').foxiblob({opacity:0.6}); });</script>
    <script>$(document).ready( function(){ $('.rounded').corners("10px"); });</script>
</head>
<body>
<div id="wrapper">
    <div id="head">
        <div id="header">
            <div id="logo">
                <a href="<c:url value='/'/>">
                    <img src="<c:url value='/images/financial_03.jpg'/>" alt="" width="264" height="30" />
                </a>
            </div>
            <!--end logo-->
            <div id="menu">
                <ul id="menu_list">
                    <li><a href="<c:url value='/'/>">Accueil</a></li>
                    <li><a href="<c:url value='/offre/liste'/>">Offres de ventes</a></li>
                    <li><a href="<c:url value='/societe/liste'/>">Liste Entreprise</a></li>
                    <li id="page_about"><a href="<c:url value='/about.jsp'/>">A propos de AT</a></li>
                    <li id="page_contact"><a href="<c:url value='/contact.jsp'/>">Contact</a></li>
                </ul>
                <ul>
                	<c:if test='${sessionScope.user==null}'>
                		<li><a href="<c:url value='/inscription'/>">S'inscrire</a></li>
                	</c:if>
                    <li id="page_login">
	                    <c:choose>
							<c:when test="${sessionScope.type=='membre'}">
								<a href="<c:url value='/masociete'/>" class="buttonlogin"> 
									<img class="lock" src="<c:url value='/images/1420689828_lock.png'/>" alt="" />
									Ma société
								</a>
							</c:when>
							<c:when test="${sessionScope.user!=null}">
								<a href="<c:url value='/mesactions'/>" class="buttonlogin">
									<img class="lock"
									src="<c:url value='/images/1420689828_lock.png'/>"
									alt="Mes Comptes" /> Accéder à mon compte
								</a>
							</c:when>
							<c:otherwise>
								<a href="<c:url value='/login'/>" class="buttonlogin"> <img
									class="lock"
									src="<c:url value='/images/1420689828_lock.png'/>"
									alt="Mes Comptes" /> Accéder à mon compte
								</a>
							</c:otherwise>
						</c:choose>
					</li>
                    <c:if test="${sessionScope.user!=null}">
                    <li>
                        <a href="<c:url value='/mesinfos'/>">
                        Mes infos
                        </a>
                    </li>
                    <li>
                        <a href="<c:url value='/disconnect'/>">
                        <img class="deco" src="<c:url value='/images/1365788078_Log%20Out.png'/>" alt="déconnexion"/>
                        Déconnexion
                        </a>
                    </li>
                    </c:if>
                </ul>
            </div>
            <!--end menu-->
        </div>
        <!--end header-->
    </div>
    <!--end head-->